<?php
/*
 * @Descripttion: 意见反馈
 * @Author: Twoknives
 * @Date: 2022-02-13 12:37:02
 * @LastEditTime: 2022-02-13 12:47:57
 * @FilePath: \njz\app\api\model\FreedbackModel.php
 */

namespace app\api\model;

use think\Model;

use app\api\model\Token;

/**
 * 意见反馈
 */
class FeedbackModel extends Model
{

    protected $name='feedback';

    // 开启自动写入时间戳字段
    protected $auto_timestamp = 'false'; 

    // public function  getLastAddressTimeAttr($value, $data)
    // {
    //     return date('Y-m-d H:i:s', $data['last_address_time']);
    // }


    public function  getSendTimeAttr($value, $data)
    {
        return date('Y-m-d H:i:s', $data['send_time']);
    }
  

}
